
#ifndef _DEVICE_LIGHT_H_
#define _DEVICE_LIGHT_H_

#include <stdint.h>


#define DeviceLight_Flash(count, color, ms)	DeviceLight_FlashAsync(0, count, ms, color, ms, Color_Black)


//灯初始化
void DeviceLight_Init(void);

//设置灯闪烁
void DeviceLight_FlashAsync(uint8_t id, uint8_t count, uint32_t onMs, uint8_t onColor, uint32_t offMs, uint8_t offColor);
//恢复常态
void DeviceLight_Permanent(uint8_t id);


#endif /*_LIGHT_H_*/

